/* 
 * File:   mystring.h
 * Author: raul
 *
 * Created on March 5, 2013, 7:10 PM
 */

#ifndef MYSTRING_H
#define	MYSTRING_H

class MyString{
public:
    MyString();
    MyString(const char* str);
    MyString(const MyString& other); //constructor copy
    MyString& operator=(const MyString& other); //assignment operator
    
    void operator+(const char* str);
    void operator+(const MyString& str);
    
    MyString& operator+=(const MyString& other);
    MyString& operator+=(const char* other);
    
    unsigned int size();
};


#endif	/* MYSTRING_H */

